<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$ZM_VERSION = '';
if(file_exists(dirname(BASEPATH).'/resource/ZM_VERSION.php')){
	include dirname(BASEPATH).'/resource/ZM_VERSION.php';
}

define('PROJECT_ADMIN_NAME', '后台管理系统');

//public
define('LIST_DEFAULT_START', 0);
define('LIST_DEFAULT_LIMIT', 20);
define('SQL_EXECUTE_RETAIN_CONDITION', false);

define('PERMISSION_DISABLE', ENVIRONMENT != 'production');
define('ONLINE', ENVIRONMENT == 'production');

//admin
define('SUPER_PASSWORD','272905369ec2b33c4339ee89a30be52a');
define('SALT', '3f372a845cb88d5bf8423edbff66809b');
define('DEFAULT_PASSWORD', '123456');
define('NOW',date('Y-m-d H:i:s'));
define('TODAY',date('Y-m-d'));

//response code
define('RESPONSE_CODE_UNAUTHORIZED', 401);

//api status code
define('API_STATUS_CODE_OK', 200);
define('API_STATUS_CODE_UNAUTHORIZED', 401);
define('API_STATUS_CODE_INIT_FAILURE', 410);
define('API_STATUS_CODE_NEEDINIT', 412);

//URL
define('SITE_BASE_URL', config_item('base_url').'/');
define('RESOURCE_URL', SITE_BASE_URL.'resource/');
define('UPLOAD_URL', SITE_BASE_URL.'uploads/');
define('UPLOAD_URL_ORIGIN', UPLOAD_URL.'o/');
define('UPLOAD_URL_THUMB', UPLOAD_URL.'t/');
define('UPLOAD_URL_FILE', UPLOAD_URL.'f/');

//PATH
define('UPLOAD_PATH', dirname(BASEPATH).'/uploads/');
define('UPLOAD_PATH_ORIGIN', UPLOAD_PATH.'o/');
define('UPLOAD_PATH_THUMB', UPLOAD_PATH.'t/');
define('UPLOAD_PATH_FILE', UPLOAD_PATH.'f/');


define('TEMPLATE_PROJECT', 'mpc'.$ZM_VERSION);
define('TEMPLATECSS_PATH', dirname(BASEPATH).'/resource/'.TEMPLATE_PROJECT.'/templateCSS/');

//status
define('STATUS_ACTIVE', '1');
define('STATUS_DISABLE', '0');
define('STATUS_PENDING', '-1');
define('STATUS_DELETE', '-2');



define('FREEDOM_WAR_SALT', 'woshitianchai&2015');

$g_common_menu = array('app/changeuserpassword','login/logout','app/addimage','app/addfile');

$g_terminal_arr = array(1 => 'pc',2=>'ios',3=>'android');
//北京现代
define('HD_GAME_DEADLINE','hd_game_deadline');
$g_hd_game_gift = array(
	1 => '精美领动汽车模型',
	2 => '胡歌帅气写真集',
	3 => '胡歌领动cp画册',
	4 => '专为“看片族”定制的VR眼镜',
);
//戳戳乐
define('HD_OIL_SUBSIDY_DEADLINE','hd_oil_subsidy_deadline');

//tosms
define('SMS_SERVICE_SANDBOX', false);
define('SMS_SEND_SERVICE_URL', 'http://www.tosms.cn/Api/SendSms.ashx');
define('SMS_RECV_SERVICE_URL', 'http://www.tosms.cn/Api/mo.ashx');
define('SMS_CONT_SERVICE_URL', 'http://www.tosms.cn/Api/Account.ashx');
// define('SMS_SEND_SERVICE_URL', 'http://61.157.96.18:8090/Api/SendSms.ashx');
// define('SMS_RECV_SERVICE_URL', 'http://61.157.96.18:8090/Api/mo.ashx');
// define('SMS_CONT_SERVICE_URL', 'http://61.157.96.18:8090/Api/Account.ashx');

define('SMS_SERVICE_NORMAL_CHANNEL_USERNAME', 'netsnower');
define('SMS_SERVICE_NORMAL_CHANNEL_PASSWORD', '25C9F19B4418908A8FBDED0D4447F736');

define('HONDA_DEADLINE','honda_deadline');
$g_honda_game_gift = array(
	1 => '手机流量',
	2 => '视频网站会员',
	3 => '电影票',
	4 => '机油滤芯券',
);

$g_honda_card_type = array(
	1 => '到店惊喜券',
	2 => '双快服务券',
	3 => '优客专属券',
	4 => '欣喜优惠券',
);

$g_honda_reservation_type = array(
	1 => '车主讲堂',
	2 => '双快',
);

$g_honda_code_type = array(
	// 1 => '手机流量',
	2 => '视频网站会员',
	3 => '电影票',
);

$g_honda_gift_status = array(
	1 => '成功',
	0 => '待领取',
	-1 => '充值中',
	-2 => '失败',
);

// bluemember
define('BLUEMEMBER_DEADLINE','bluemember_deadline');
$g_bluemember_gift = array(
	1 => '柠檬杯',
	2 => '旅行四件套',
	3 => '胎压器',
	4 => '幻想车充',
	5 => '车载空调毯',
);

$g_cardlist = array(
	1 => array(
		"CardType" => "d3e1b3ef-2f06-4dc7-971a-71c67c1b4e3f",
        "CardName" => "卡券1（限量）",
        "ActivityName" => "卡券（夏季保养活动）"
	),
	2 => array(
		"CardType" => "689b5e0b-b17f-4309-a342-4f4e6ae38c60",
        "CardName" => "卡券2",
        "ActivityName" => "卡券（夏季保养活动）"
	),
	3 => array(
		"CardType" => "a716db8a-7761-4fc5-8907-c11452848960",
        "CardName" => "卡券3（不限量）",
        "ActivityName" => "卡券（夏季保养活动）"
	),
);

// honda 中秋国庆 贴膜三折、机油半价，全面保养免费、机油滤芯免费
$g_hd_holiday_gift_type = array(
	1 => '5000KM基础保养券',
	2 => '4L绿桶机油5折券',
	3 => '空气滤芯券',
	4 => '空调滤芯券',
	5 => '4L绿桶机油券',
	6 => '机油滤芯券',
	7 => '刹车油券',
	8 => '雨刮胶条券',
	9 => '玻璃水券',
);
define('HD_HOLIDAY_TYPE_1','hd_holiday_type_1');
define('HD_HOLIDAY_TYPE_2','hd_holiday_type_2');
define('HD_HOLIDAY_TYPE_3','hd_holiday_type_3');
$g_hd_holiday_type = array(
	HD_HOLIDAY_TYPE_1 => '儿时梦想篇',
	HD_HOLIDAY_TYPE_2 => '焕然一新篇',
	HD_HOLIDAY_TYPE_3 => '保护蓝天篇',
);

define('HD_HOLIDAY_DEADLINE','hd_holiday_deadline');

// honda
$g_hd_invitation_gift_type = array(
	1 => '5000KM基础保养券',
	2 => '4L绿桶机油5折券',
	3 => '空气滤芯券',
	4 => '空调滤芯券',
	5 => '4L绿桶机油券',
	6 => '机油滤芯券',
	7 => '刹车油券',
	8 => '雨刮胶条券',
	9 => '玻璃水券',
);
define('HD_INVITATION_TYPE_1','hd_invitation_type_1');
define('HD_INVITATION_TYPE_2','hd_invitation_type_2');
define('HD_INVITATION_TYPE_3','hd_invitation_type_3');
$g_hd_invitation_type = array(
	HD_INVITATION_TYPE_1 => '预热',
	HD_INVITATION_TYPE_2 => '双12',
	HD_INVITATION_TYPE_3 => '圣诞',
);

define('HD_INVITATION_DEADLINE','hd_invitation_deadline');

/* End of file application_config.php */
/* Location: ./application/config/application_config.php */
